#include "BangRobotService_types.h"
#include "BangRobotService.h"

#include "melon/service/service_arch.h"
#include "melon/service/base_service_impl.h"

namespace imserver {

class BangRobotServiceHandler : public BangRobotServiceIf, public melon::service::BaseServiceImpl {
 public:
  BangRobotServiceHandler() {
  }
  virtual void DispatchMessage(const ImMessage& message);
  virtual void DispatchPresence(const int64_t uid, const std::string& session, const SessionType::type type);
  virtual void BroadcastClient(const int64_t uid, const int64_t inactive_shop);
  virtual void BroadcastClientWithQuestion(const int64_t uid, const int64_t inactive_shop, const std::string& question);
  virtual int32_t GetRank(const int64_t uid) {
    return 0;
  }
  virtual void SetRank(const int64_t uid, const int32_t rank) {
  }
};

}

